home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 076-100 / disk_076 / include / intuition / requester.g < prev    next >
Text File  |  1992-05-06  |  1KB  |  51 lines

  1. type
  2.     Requester_t = struct {
  3.     *Requester_t r_OlderRequest;
  4.     uint r_LeftEdge, r_TopEdge;
  5.     uint r_Width, r_Height;
  6.     uint r_RelLeft, r_RelTop;
  7.     
  8.     *Gadget_t r_ReqGadget;
  9.     *Border_t r_ReqBorder;
  10.     *IntuiText_t r_ReqText;
  11.     uint r_Flags;
  12.     
  13.     ushort r_BackFill;
  14.     *Layer_t r_ReqLayer;
  15.     
  16.     [32]byte r_ReqPad1;
  17.     
  18.     *BitMap_t r_ImageBMap;
  19.     *Window_t r_RWindow;
  20.     [36]byte r_ReqPad2;
  21.     };
  22.  
  23. uint
  24.     POINTREL    = 0x0001,
  25.     PREDRAWN    = 0x0002,
  26.     NOISYREQ    = 0x0004,
  27.  
  28.     REQOFFWINDOW= 0x1000,
  29.     REQACTIVE    = 0x2000,
  30.     SYSREQUEST    = 0x4000,
  31.     DEFERREFRESH= 0x8000;
  32.  
  33. ulong
  34.     ALERT_TYPE        = 0x80000000,
  35.     RECOVERY_ALERT  = 0x00000000,
  36.     DEADEND_ALERT   = 0x80000000;
  37.  
  38. extern
  39.     AutoRequest(*Window_t w; *IntuiText_t bodyText, positiveText, negativeText;
  40.         ulong positiveFlags, negativeFlags; ulong width, height)bool,
  41.     BuildSysRequest(*Window_t w;
  42.             *IntuiText_t bodyText, positiveText, negativeText;
  43.             ulong IDCMPFlags; ulong width, height)*Window_t,
  44.     ClearDMRequest(*Window_t w)bool,
  45.     DisplayAlert(ulong alertNumber; *char string; ulong height)bool,
  46.     EndRequest(*Requester_t r; *Window_t w)void,
  47.     FreeSysRequest(*Window_t w)void,
  48.     InitRequester(*Requester_t r)void,
  49.     Request(*Requester_t r; *Window_t w)bool,
  50.     SetDMRequest(*Window_t w; *Requester_t DMRequester)void;
  51.